package it.k2t.timesheet.ws;

import it.k2t.timesheet.ws.jaxws.SayHello;
import it.k2t.timesheet.ws.jaxws.SayHelloResponse;

public class GadgetWebServiceAdapter {
  private GadgetWebService gadgetWS = new GadgetWebService();

  public SayHelloResponse sayHello(SayHello request){
    String name = request.getArg0();
    String responseGreeting = gadgetWS.sayHello(name);
    SayHelloResponse response = new SayHelloResponse();
    response.setReturn(responseGreeting);
    return response;
  }

}